<template>
  <div class="test-container">
      <RightList :list="list" @select="handleSelect" />
  </div>
</template>

<script>
import RightList from "./views/Blog/components/RightList.vue";
export default {
    components:{
        RightList,
    },
    data(){
        return{
            list:[
                {name:"a",isSelect:true,children:[]},
                {name:"a",isSelect:false,children:[
                                    {name:"a",isSelect:true,children:[]},
                {name:"a",isSelect:true,children:[]},
                {name:"a",isSelect:true,children:[]},
                {name:"a",isSelect:true,children:[]},

                ]},
                                {name:"a",isSelect:true,children:[]},
                {name:"a",isSelect:true,children:[]},
                {name:"a",isSelect:true,children:[]},
                {name:"a",isSelect:true,children:[]},

            ]
        }
    },
    methods:{
        handleSelect(item){
            console.log(item);
        }
    }
}
</script>

<style>

</style>